package org.qiyu.live.msg.enums;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-10-01
 * Time: 19:10
 */
public enum MsgSendResultEnum {

    SEND_MSG_CODE_SUCCESS(1, "发送验证码成功"),
    SEND_MSG_CODE_FAIL(2, "发送短信验证码失败"),
    SEND_MSG_PARAM_ERROR(3, "短信验证码格式错误");

    int code;
    String desc;

    MsgSendResultEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}